﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VOL.Entity.DTO
{
    public class PurchaseList
    {

        public string PurchaseId { get; set; }


        public int? DocumentType { get; set; }


        public string SupplierCode { get; set; }


        public string SupplierName { get; set; }

        public string SupplierPhone { get; set; }

        public DateTime? ReceiptDate { get; set; }


        public string Remark { get; set; }


        public string DocumentMaker { get; set; }

        public DateTime? MakeOrderTime { get; set; }

        public int? OrderStatus { get; set; }

        /// <summary>
        ///是否入账
        /// </summary>
        public sbyte? IsEntry { get; set; }

        /// <summary>
        ///是否退回
        /// </summary>
        public sbyte? IsSendBack { get; set; }

        /// <summary>
        ///创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        ///是否删除
        /// </summary>
        public sbyte? IsDeleted { get; set; }

        /// <summary>
        ///采购产品详情编号
        /// </summary>
        public string ProcurementId { get; set; }

        /// <summary>
        ///产品数量
        /// </summary>
        public int? ProductNum { get; set; }

        /// <summary>
        ///产品总价
        /// </summary>
        public decimal? ProductTotal { get; set; }

        /// <summary>
        ///产品编号
        /// </summary>
        public string ProductId { get; set; }

        /// <summary>
        ///产品名称
        /// </summary>
        public string ProductName { get; set; }

        /// <summary>
        ///规格
        /// </summary>
        public string Specification { get; set; }

        /// <summary>
        ///单价
        /// </summary>
        public string Unit { get; set; }

        /// <summary>
        ///厂商编码
        /// </summary>
        public string SupplierId { get; set; }

        /// <summary>
        ///内部编码
        /// </summary>
        public string InsideId { get; set; }

        /// <summary>
        ///单位
        /// </summary>
        public string UnitId { get; set; }

        /// <summary>
        ///类别
        /// </summary>
        public string SortId { get; set; }

        /// <summary>
        ///预警（下）
        /// </summary>
        public string EarlyWarningFront { get; set; }

        /// <summary>
        ///预警（上）
        /// </summary>
        public string EarlyWarningBelow { get; set; }

        /// <summary>
        ///价格
        /// </summary>
        public decimal? Price { get; set; }

        /// <summary>
        ///描述
        /// </summary>

        public string Describe { get; set; }

        /// <summary>
        ///入库数量
        /// </summary>

        public int? StockIn { get; set; }

        /// <summary>
        ///出库数量
        /// </summary>

        public int? StockOut { get; set; }

        /// <summary>
        ///总库存
        /// </summary>

        public int? SumStock { get; set; }
    }
}
